package com.franz.noteapp.room.database

import androidx.room.Database
import androidx.room.RoomDatabase
import com.franz.noteapp.bean.NoteBean
import com.franz.noteapp.room.dao.NoteDao

@Database(entities = [NoteBean::class], version = 1)
abstract class NoteDatabase : RoomDatabase(){
    abstract val noteDao: NoteDao

    companion object{
        const val DATABASE_NAME:String = "note"
    }
}